<%@ page language="java" import="java.util.*, com.zjut.zs.school.manager.*, com.zjut.zs.school.dao.*, com.zjut.an.util.tools.*,com.zjut.an.util.system.*" pageEncoding="utf-8"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta charset="utf-8" />
	<title><%=Config.webname%></title>
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta content="width=device-width, initial-scale=1.0" name="viewport" />
	<meta content="" name="description" />
	<meta content="" name="author" />
	<meta name="MobileOptimized" content="320">  
	<link href="../plugins/assets/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
	<link href="../plugins/assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
	<link href="../plugins/assets/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
	<link href="../plugins/assets/css/style-metronic.css" rel="stylesheet" type="text/css"/>
	<link href="../plugins/assets/css/style.css" rel="stylesheet" type="text/css"/>
	<link href="../plugins/assets/css/style-responsive.css" rel="stylesheet" type="text/css"/>
	<link href="../plugins/assets/css/plugins.css" rel="stylesheet" type="text/css"/>
	
	<link rel="shortcut icon" href="favicon.ico" />
	
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
  <script src="../plugins/html5shiv/3.7/html5shiv.min.js"></script>
  <script src="../plugins/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<%
ZsSchoolManager manager = (ZsSchoolManager) SpringContextUtil.getBean("ZsSchoolManager");
//int objId = Integer.parseInt(request.getParameter("scId"));

ZsSchool obj = (ZsSchool)session.getAttribute("school");
obj = manager.getData(obj.getScId());
%>

<body class="">
	<jsp:include page="systemrolevalidate.jsp" flush="true">
	<jsp:param name="m" value="systempower"/>
	</jsp:include>
	<div class="clearfix"></div>
	<div class="page-container">
		<div class="">
			
			<div class="row">
				<div class="col-md-10">
					
					
			<form id="ff" role="form" class="form-horizontal" action="javascript:submitForm();" method="post">  
				<div class="form-group">  
                    <label class="control-label col-md-2">专业选择脚本</label>  
                    <div class="col-md-10"> 
                    	<textarea class="form-control" name="scExvJs" rows="10"><%=obj.getScExvJs() %></textarea>
                    </div>
                </div> 	 
                <div class="form-group">  
                    <label class="control-label col-md-2">申请提交校验脚本</label>  
                    <div class="col-md-10"> 
                    	<textarea class="form-control" name="scSubJs" rows="10"><%=obj.getScSubJs() %></textarea>
                    </div>
                </div> 
                <div class="form-group">  
                    <label class="control-label col-md-2">后台数据校验脚本</label>  
                    <div class="col-md-10">  
                    	<textarea class="form-control" name="scCheckJs" rows="10"><%=obj.getScCheckJs() %></textarea>
                    </div>
                </div> 
               
                <div class="form-group">  
                    <div class="col-md-offset-2 col-md-10">  
                        <button type="submit" class="btn btn-primary btn-sm">修改 </button>  
                        <button type="reset" class="btn btn-primary btn-sm">重置</button> 
                        <input class="form-control" name="scId" type="text" id="scId" value="<%=obj.getScId() %>" style="display:none"/> 
                    </div>  
                </div>  
            </form> 

				</div>
			</div>
		</div>
	</div>
	<script src="../plugins/assets/plugins/jquery-1.10.2.min.js" type="text/javascript"></script>
	<script src="../plugins/assets/plugins/jquery-migrate-1.2.1.min.js" type="text/javascript"></script>    
	<script src="../plugins/assets/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
	<script src="../plugins/assets/plugins/bootstrap-hover-dropdown/twitter-bootstrap-hover-dropdown.min.js" type="text/javascript" ></script>
	<script src="../plugins/assets/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
	<script src="../plugins/assets/plugins/jquery.blockui.min.js" type="text/javascript"></script>  
	<script src="../plugins/assets/plugins/jquery.cookie.min.js" type="text/javascript"></script>
	<script src="../plugins/assets/plugins/uniform/jquery.uniform.min.js" type="text/javascript" ></script>
	<script src="../plugins/assets/scripts/app.js"></script>  
	
	<script src="../plugins/assets/plugins/jquery-validation/dist/jquery.validate.js" type="text/javascript"></script>
	<script src="js/publicManager.js" type="text/javascript" charset="utf-8"></script>  
	
	<script>
	jQuery(document).ready(function() {       
		   App.init();
		});
	
	var loactionurl='zsSchoolJsEdit.jsp';	
	var updateOneAction = '../zsSchoolUpdateJsEdit.action?randnum='+Math.floor(Math.random()*1000000);
		
	</script>
</body>
</html>